﻿namespace _RobotInspection.DTO
{
    /// <summary>
    /// 公司机组设备层级结构DTO
    /// </summary>
    public class EquipmentHierarchyDto
    {
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 机组列表
        /// </summary>
        public List<CrewDto> Unit { get; set; }
    }

    public class CrewDto
    {
        /// <summary>
        /// 机组名称
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 设备列表
        /// </summary>
        public List<EquipmentDto> Equipments { get; set; }
    }

    public class EquipmentDto
    {
        /// <summary>
        /// 设备ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string EquipmentName { get; set; }
    }



}
